-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build for gazebo4 #221
Conversation
Shouldn't this PR target It has already been suggested before, but we should change the repository's default branch to |
I've tested the pull request under Trusty for:
It is compiling just fine for me on all the combinations. @adolfo-rt we are still producing ROS wrappers for gazebo new versions (gazebo3, gazebo4) in Hydro and it would help to have the fixes applied to both branches, hydro-devel and indigo-devel. Thanks. |
|
@@ -288,7 +294,11 @@ class DefaultRobotHWSim : public gazebo_ros_control::RobotHWSim | |||
break; | |||
|
|||
case POSITION: | |||
#if GAZEBO_VERSION_MAJOR >= 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be GAZEBO_MAJOR_VERSION
OK, I was not aware of this. |
See pull request ros-simulation#221
Fix build for gazebo4
No description provided.